home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / database / bl153.arj / INSTALL.FIL < prev    next >
Text File  |  1993-12-26  |  6KB  |  206 lines

  1. BACKGROUND 63
  2. TELESCOPE OFF
  3. SHADOW ON
  4. WINOPEN 18 2 95
  5.  
  6. "   TurboSystemsCo"
  7. "Installation Program"
  8. "        For"
  9. "   Book Librarian"
  10. DOS 2.1
  11. JUMP.NO NO_DOS
  12. MEMORY 512
  13. JUMP.NO  NO_MEM
  14. :PROMPT
  15. SPACE 600
  16. DRIVE C 28 10 31 15 32 14 79
  17. PATH \BOOK 12 10 31 15 32 14 79
  18. EXIST ~1~2\*.*
  19. JUMP.NO UNPACK
  20. WINOPEN 0 10 31
  21. "The directory ~1~2 already exists and contains files!"
  22. "Are you sure you want to risk overwriting files in this directory Y or N?"
  23. "Overwriting an earlier version of Book Librarian is OK"
  24. ASK 77 12
  25. WINCLOSE
  26. JUMP.NO PROMPT
  27. :UNPACK
  28. UNPACK BOOK.F01 24 10 31 32 14 79
  29. JUMP.FAIL INSTALL_FAILURE
  30. COPY ~0\README.DOC  ~1~2\README.DOC 24 10 31
  31. COPY ~0\BL.DOC ~1~2\BL.DOC 24 10 31
  32. WINOPEN 0 10 31
  33. "Do you want to install the sample files Y or N?  The"
  34. "sample files will aid you in learning the program if"
  35. "you haven't used the program before."
  36. ASK 61 11
  37. WINCLOSE
  38. JUMP.NO TEST_CONFIG
  39. UNPACK BOOK.F02 24 10 31 32 14 79
  40. JUMP.FAIL INSTALL_FAILURE
  41. :TEST_CONFIG
  42. WINOPEN 0 10 31
  43. "Book Librarian requires that you have the statements FILES=16 and"
  44. "and BUFFERS=20 or greater in your CONFIG.SYS file. Do you want the"
  45. "program to check/modify your CONFIG.SYS file if required"
  46. "                         Y)es or N)o"
  47. ASK  45 14
  48. WINCLOSE
  49. JUMP.NO SKIPGO
  50. :COMMAND_TEST
  51. EXIST ~3\COMMAND.COM
  52. JUMP.YES DOS_PROMPT
  53. WINOPEN 0 10 15
  54. "Please insert your boot floppy disk in drive ~3"
  55. ""
  56. "Press the [Enter] key to continue."
  57. WAIT 47 13
  58. WINCLOSE
  59. JUMP COMMAND_TEST
  60. :DOS_PROMPT
  61. SHADOW OFF
  62. EXIST ~3\CONFIG.SYS
  63. JUMP.NO MAKE_CONFIG
  64. COPY ~3\CONFIG.SYS ~3\CONFIG.XXX 24 10 51
  65. SET.FILES 16
  66. JUMP.FAIL INSTALL_FAILURE
  67. SET.BUFFERS 20
  68. JUMP.FAIL INSTALL_FAILURE
  69. SHADOW ON
  70. JUMP SKIPGO
  71. :MAKE_CONFIG
  72. FILE ~3\CONFIG.SYS
  73. JUMP.FAIL INSTALL_FAILURE
  74. "FILES=16"
  75. "BUFFERS=20"
  76. JUMP THERE
  77. :SKIPGO
  78. SHADOW OFF
  79. WINOPEN 0 12 31
  80. "Would you like to read the README.DOC file?"
  81. "                             (Y or N)"
  82.  
  83. ASK 57 14                     ' one method of providing a "conditional" jump
  84. WINCLOSE                      ' close the above window
  85. JUMP.NO PRINT_INSTALL.TXT
  86. VIEW ~1~2\README.DOC 79 31
  87. :PRINT_INSTALL.TXT
  88. WINOPEN 0 12 31
  89. "Would you like to PRINT the README.DOC file?"
  90. "                             (Y or N)"
  91.  
  92. ASK 57 14                     ' one method of providing a "conditional" jump
  93. WINCLOSE                      ' close the above window
  94. JUMP.NO MANUAL
  95. WINOPEN 0 0 31                ' printing large file takes a while ...
  96. "Printing ..."
  97. PRINT ~1~2\README.DOC
  98. WINCLOSE                      ' close the above window
  99. JUMP.FAIL PRINTER_ERROR       ' jump on fatal error
  100. ' JUMP THERE
  101. :MANUAL
  102. WINOPEN 0 12 31
  103. "Would you like to review the Book Librarian manual?"
  104. "                             (Y or N)"
  105. ASK 57 14
  106. WINCLOSE
  107. JUMP.NO PRT_INSTALL.TXT
  108. VIEW ~1~2\BL.DOC 79 31
  109. :PRT_INSTALL.TXT
  110. WINOPEN 0 12 31
  111. "Would you like to PRINT the Book Librarian Manual?"
  112. "                             (Y or N)"
  113.  
  114. ASK 57 14                     ' one method of providing a "conditional" jump
  115. WINCLOSE                      ' close the above window
  116. JUMP.NO THERE
  117. WINOPEN 0 0 31                ' printing large file takes a while ...
  118. "Printing ..."
  119. PRINT ~1~2\BL.DOC
  120. WINCLOSE                      ' close the above window
  121. JUMP.FAIL PRINTER_ERROR       ' jump on fatal error
  122. JUMP THERE                     ' print successful, skip next
  123.  
  124. :PRINTER_ERROR                ' label for error condition
  125. WINOPEN 0 12 31                ' open the following window
  126. "Your printer is not responding.  Possible problems:"
  127. "   -- Printer is not turned on"
  128. "   -- Printer is out of paper"
  129. "   -- Printer is not attached to LPT1 (parallel port 1)"
  130. ""
  131. "Do you want to try to print again  (Y or N)?"
  132. ASK 57 18                     ' prompt for Y or N key
  133. WINCLOSE                      ' close this window
  134. JUMP.YES PRINT_INSTALL.TXT    ' y key pressed, print
  135.  
  136. :THERE
  137. DOS 3.3
  138. JUMP.NO OLD_DOS
  139. EXIST ~3\BL.BAT
  140. JUMP.YES DONE
  141. FILE ~3\BL.BAT
  142. "@~1"
  143. "@cd ~2"
  144. "@BL"
  145. "@cd \"
  146. "@~3"
  147. JUMP DONE
  148. :OLD_DOS
  149. EXIST ~3\BL.BAT
  150. JUMP.YES DONE
  151. FILE ~3\BL.BAT
  152. "~1"
  153. "cd ~2"
  154. "BL"
  155. "cd \"
  156. "~3"
  157. :DONE
  158. WINCLOSE
  159. WINOPEN 0 0 95
  160. "Book Librarian has been successfully installed.  If you"
  161. "let the program check/modify your  CONFIG.SYS  file, you"
  162. "should  re-boot  your  computer  prior to running  Book"
  163. "Librarian to  allow  the modifications  to  take  effect."
  164. "Also the program made a backup copy of your old CONFIG.SYS"
  165. "called CONFIG.XXX prior to making any changes."
  166. ""
  167. "     To run the program type BL and press the ENTER "
  168. "     key from the root directory of drive ~3."
  169. ""
  170. " Press [Enter] key to exit this installation program"
  171. WAIT 67 17
  172. WINCLOSE
  173. :EXIT
  174. END
  175. :NO_DOS
  176. WINOPEN 0 10 31
  177. "      This program requires DOS version 2.1 or greater to run!      "
  178. "               The installation is terminated"
  179. "Contact TurboSystemsCo at 404-516-8575 if your DOS is 2.1 or greater"
  180. "               Press the [Enter] key to exit"
  181. WAIT 47 17
  182. WINCLOSE
  183. JUMP EXIT
  184.  
  185. :NO_MEM
  186. WINOPEN 0 10 31
  187. "Your system does not have at least 512K memory required to run the program"
  188. "                      The installation is terminated!"
  189. "   If your system has 512K or more contact TurboSystemsCo at 404-516-8575"
  190. "                       Press the [Enter] key to exit"
  191. WAIT 47 13
  192. WINCLOSE
  193. JUMP EXIT
  194.  
  195. :INSTALL_FAILURE
  196. WINOPEN 0 11 79
  197. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
  198. ""
  199. "Possible reasons:"
  200. "--The floppy disk was removed prior to completion."
  201. "--The floppy disk was damaged during shipping."
  202. "--Your disk drive is out of alignment."
  203. ""
  204. "Press [Enter] to exit"
  205. WAIT 62 19
  206. JUMP EXIT